<!DOCTYPE html>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title></title>
  <meta name="keywords" content="统一地图平台api">
  <meta name="description" content="统一地图平台api">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <link href="./../script/api.css" rel="stylesheet">
</head>

<body class="restdemo-page">
  <div class="page_wrapper">
    <div data-tpl="" class="content-sidebar has_right">
      <div class="content">
        <div class="crumbs">
          您现在的位置：
          <a>开发</a>
          &gt;
          <a>地理编码</a>
          &gt;
          <a>逆地理编码</a></div>
        <article>
          <h1 class="title">
            逆地理编码
            <span class="update-time">最后更新时间: 2020年08月10日</span>
          </h1>
          <div>
            <div class="md-container">
              <h2>调用示例</h2>
              <!-- <p>第一步、导入资源文件</p> -->
              <div class="md-demo-code-wrapper">
                <div class="md-demo-code-header"><a class="active">url</a></div>
                <div class="md-demo-code-content">
                  <div class="md-demo-code-content-item active">
                    <pre><code class="html hljs xml">
  http://${IP:PORT}/api/v1/coder/reverseGeocoding?location=113.388651%2C23.172524
                                        </code></pre>
                  </div>
                </div>
              </div>
              <p>参数说明:</p>
              <div class="md-atomic">
                <div class="table-container" style="width:100%;">
                  <table class="md-table">
                    <thead>
                      <th><p>名称</p></th>
                      <th><p>格式</p></th>
                      <th><p>值说明</p></th>
                    </thead>
                    <tbody>
                      <tr>
                        <td><p>location</p></td>
                        <td><p>逗号分隔的经纬度</p></td>
                        <td><p>待查询经纬度</p></td>
                      </tr>
                      <tr>
                        <td><p>radius</p></td>
                        <td><p>整数</p></td>
                        <td><p>搜索半径，单位：米。默认500</p></td>
                      </tr>
                      <tr>
                        <td><p>ext</p></td>
                        <td><p>true/false</p></td>
                        <td><p>是否返回周边POI数据，默认否</p></td>
                      </tr>
                      <tr>
                        <td><p>level</p></td>
                        <td><p>1~18</p></td>
                        <td><p>周边POI数据的最低显示等级，默认18</p></td>
                      </tr>
                      <tr>
                        <td><p>size</p></td>
                        <td><p>正整数</p></td>
                        <td><p>周边POI数据的最大数量，默认10</p></td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <h2>返回示例</h2>
              <div class="md-demo-code-wrapper">
                <div class="md-demo-code-header"><a class="active">json</a></div>
                <div class="md-demo-code-content">
                  <div class="md-demo-code-content-item active">
                    <pre><code class="html hljs xml">
  {
    "errcode": 0,
    "errmsg": "ok",
    "data": {
      "address": "冼村街道金穗路79号",
      "province": "广东省",
      "adcode": 440106,
      "city": "广州市",
      "district": "天河区",
      "pois": [
        {
          "id": "3100000050069",
          "name": "盈嘉花园停车场",
          "address": "冼村街道金穗路72号盈嘉花园",
          "standbyTypeCode": "230225",
          "standbyTypeName": "地下停车场",
          "distance": 306,
          "direction": "南",
          "showLocation": "113.32665110,23.125006845"
        },
        {
          "id": "3100000055557",
          "name": "尚东美御",
          "address": "冼村街道猎德大道46号",
          "standbyTypeCode": "120201",
          "standbyTypeName": "小区",
          "distance": 98,
          "direction": "北",
          "showLocation": "113.32863996,23.126041638"
        }
      ],
      "houseNum": null,
      "roadname": null
    }
  }
                                        </code></pre>
                  </div>
                </div>
              </div>
              <p>属性说明:</p>
              <div class="md-atomic">
                <div class="table-container" style="width:100%;">
                  <table class="md-table">
                    <thead>
                      <tr><th><p>属性名称</p></th><th><p>属性说明</p></th></tr>
                    </thead>
                    <tbody>
                      <tr><td><p>errcode</p></td><td><p>错误码</p></td></tr>
                      <tr><td><p>errmsg</p></td><td><p>错误信息</p></td></tr>
                      <tr><td><p>data.address</p></td><td><p>地址</p></td></tr>
                      <tr><td><p>data.province</p></td><td><p>省</p></td></tr>
                      <tr><td><p>data.city</p></td><td><p>市</p></td></tr>
                      <tr><td><p>data.district</p></td><td><p>区</p></td></tr>
                      <tr><td><p>data.houseNum</p></td><td><p>门牌号</p></td></tr>
                      <tr><td><p>data.roadname</p></td><td><p>路名</p></td></tr>
                      <tr><td><p>data.pois</p></td><td><p>附近的点</p></td></tr>
                      <tr><td><p>data.pois[].id</p></td><td><p>id</p></td></tr>
                      <tr><td><p>data.pois[].name</p></td><td><p>名称</p></td></tr>
                      <tr><td><p>data.pois[].address</p></td><td><p>地址</p></td></tr>
                      <tr><td><p>data.pois[].standbyTypeCode</p></td><td><p>类型编码</p></td></tr>
                      <tr><td><p>data.pois[].standbyTypeName</p></td><td><p>类型名称</p></td></tr>
                      <tr><td><p>data.pois[].distance</p></td><td><p>距离</p></td></tr>
                      <tr><td><p>data.pois[].direction</p></td><td><p>方位</p></td></tr>
                      <tr><td><p>data.pois[].showLocation</p></td><td><p>显示位置</p></td></tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </article>
      </div>
    </div>
  </div>
</body>

</html>